Skip to content

[EngSys] Lint workflows with actionlint#47467

Merged
mikeharder merged 14 commits into
Azure:mainfrom
mikeharder:actionlint
Jun 12, 2026
Merged

[EngSys] Lint workflows with actionlint#47467
mikeharder merged 14 commits into
Azure:mainfrom
mikeharder:actionlint

Conversation

@mikeharder

Copy link
Copy Markdown
Member

No description provided.

@mikeharder mikeharder requested review from Copilot and tjprescott June 12, 2026 00:07
@mikeharder mikeharder changed the title [EngSys] Add workflow to run Actionlint [EngSys] Lint workflows using actionlint Jun 12, 2026
@mikeharder mikeharder changed the title [EngSys] Lint workflows using actionlint [EngSys] Lint workflows with actionlint Jun 12, 2026
Comment thread .github/workflows/actionlint.yml Outdated
Comment thread .github/workflows/actionlint.yml Outdated
Co-authored-by: Mike Harder <mharder@microsoft.com>
@mikeharder mikeharder marked this pull request as ready for review June 12, 2026 00:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces GitHub Actions workflow linting via actionlint, while also modernizing and hardening several existing workflow scripts (quoting/safer shell patterns) and updating common actions to newer major versions.

Changes:

  • Add an Actionlint workflow plus a problem matcher and repo config for self-hosted runner label validation.
  • Harden shell scripting in the TypeSpec regenerate workflow (safer $GITHUB_OUTPUT writes and safer rm -rf usage).
  • Update workflow dependencies (e.g., actions/checkout, actions/setup-python) and improve quoting in run steps.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/typespec-python-regenerate.yml Hardens shell scripting for output writing and guarded deletion in regen flow.
.github/workflows/dependency-checker.yml Bumps actions/checkout and actions/setup-python major versions.
.github/workflows/copilot-setup-steps.yml Updates setup-python and quotes writes to $GITHUB_ENV / $GITHUB_PATH.
.github/workflows/azure-sdk-tools.yml Updates action versions and improves quoting for install paths/extras.
.github/workflows/actionlint.yml Adds new workflow to run actionlint with matcher integration.
.github/matchers/actionlint.json Adds problem matcher for actionlint output.
.github/actionlint.yaml Adds actionlint config for self-hosted runner labels.

Comment thread .github/actionlint.yaml
Comment thread .github/workflows/actionlint.yml Outdated
@mikeharder mikeharder merged commit c5e85bf into Azure:main Jun 12, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants